﻿@{
    ViewData["Title"] = "GridTypeManagement";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div style="background-color:#595E6C;">

</div>
<script type="text/html" id="barDemo">
    <div class="layui-btn-container">
        <a class="layui-btn layui-btn-xs" lay-event="edit">修改</a>
        <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="delete">删除</a>
    </div>
</script>
<div style="margin:60px 60px">
    <table>
        <tr>
            <td style="padding-bottom:20px">
                <div class="layui-form layui-row">
                    <label class="layui-form-label" style="width:100px">网格类型名称：</label>
                    <div class="layui-col-md3" style="width:200px">
                        <input type="text" id="gridname" placeholder="请输入" class="layui-input">
                    </div>
                </div>
            </td>
            <td style="padding-bottom:20px">
                <div class="layui-form layui-row">
                    <label class="layui-form-label" style="width:100px">网格类别：</label>
                    <div class="layui-col-md3" style="width:200px">
                        <input type="text" id="gridclass" placeholder="请输入" class="layui-input">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td style="padding-bottom:30px; padding-left:400px">
                <button type="button" class="layui-btn layui-btn-primary" id="searchBtn" style="background-color:#538EBB;color:aliceblue" > <i class="layui-icon"></i> 搜 索</button>
                <button type="button" class="layui-btn" style="background-color:#EE9800;color:aliceblue"> <i class="layui-icon layui-icon-refresh" style="font-size: 20px; color: aliceblue;"> </i> 重置</button>
            </td>
        </tr>
    </table>
    <div class="layui-inline">
        <button type="button" class="layui-btn layui-btn-primary " lay-on="test-page" onclick="onAddBtn()" style="background-color:#3BB19C;color:aliceblue"><i class="layui-icon layui-icon-addition" style="font-size: 20px; color: aliceblue;"></i> 新增</button>
    </div>
    <table id="ID-table-demo-setRowChecked"></table>

    <div id="pagesbox" style="text-align:center"></div>
    <!--添加的弹出层-->
    <div id="add-main" style="display: none">
        <form class="layui-form" id="test" onsubmit="return false">
            <div class="layui-form-item">
                <label class="layui-form-label" style="width:100px">网格类型名称:</label>
                <div class="layui-input-block">
                    <input type="text" name="gridName" required lay-verify="required" placeholder="请输入标题" autocomplete="on" class="layui-input" id="gridName" style="width:500px">
                </div>
            </div>
            <div class="layui-form-item" style="margin-left:20px">
                <label class="layui-form-label" style="width:70px">网格类别:</label>
                <div class="layui-input-block" style="width:500px">
                    <select id="value" name="gridClass">
                        <option value="">请选择</option>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label" style="width:100px">专业网格:</label>
                <div class="layui-input-block">
                    <input type="text" name="professionalGrid" required lay-verify="required" placeholder="请输入标题" autocomplete="on" class="layui-input" id="professionalGrid" style="width:500px">
                </div>
            </div>
            <div class="layui-form-item" style="margin-top:15px;text-align:center">
                <button type="reset" class="layui-btn layui-btn-primary" lay-submit lay-filter="demo1">取消</button>
                <button class="layui-btn" lay-submit lay-filter="demo2">确定</button>
            </div>
        </form>
    </div>
    <div>
        <script src="~/js/Grid/GridTypeManagement.js?BE=" +new Date()></script>
    </div>
    <script type="text/html" id="barDemo">
        <div class="layui-btn-container">
            <a class="layui-btn layui-btn-xs" lay-event="edit">修改</a>
            <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="delete">删除</a>
        </div>
    </script>
</div>




